﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Shopping.BLL;
using Shopping.Common;
using Shopping.Model;

public partial class Goods_RelateCategoryAndBrand : System.Web.UI.UserControl
{
    protected List<IDNameObj> listOfCategory;
    protected List<IDNameObj> listOfBrands;

    protected void Page_Load(object sender, EventArgs e)
    {

    }


    public void BindData(List<string> GoodsIDs)
    {
        if (GoodsIDs == null)
            return;

        CategoriesManage bllCategory = new CategoriesManage();
        BrandsManage bllBrand = new BrandsManage();

        listOfCategory = bllCategory.QueryRelateCategory(GoodsIDs);
        listOfBrands = bllBrand.QueryRelateBrand(GoodsIDs);

    }

}